/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.vienthonga.homepage.logic;

import com.vienthonga.hibernate.dao.ShowProductDAO;
import com.vienthonga.hibernate.pojo.TProduct;
import java.util.List;

/**
 *
 * @author DoanHa
 */
public class HomePageLogic {
    // lay ra cac dien thoai moi
    public List<TProduct> getNewMobilephone() {
        return ShowProductDAO.getNewMobilephone();
    }

    //lay ra cac dien thoai thong dung
    public List<TProduct> getNormalMobilephone() {
        return ShowProductDAO.getNormalMobilephone();
    }

    //lay ra cac dien thoai trung cap
    public List<TProduct> getMediumMobilephone() {
        return ShowProductDAO.getMediumMobilephone();
    }

    //lay ra cac dien thoai cao cap
    public List<TProduct> getHighMobilephone() {
        return ShowProductDAO.getHighMobilephone();
    }

    //lay ra cac dien thoai sieu cap
    public List<TProduct> getSuperMobilephone() {
        return ShowProductDAO.getSuperMobilephone();
    }
}
